<?php
 mysql_connect("localhost", "root", "mysql");
mysql_select_db("slider");

$rs = mysql_query("select * from slider");
?>

<html>
    <head>
        <title>Catologo de Articulos</title>

    </head>
    <body>
        <table border="1" align="center">
            <thead>

            <th>Imagen</th>
            <th>Descripcion</th>
            <th>Fecha</th>
            <th>Edit</th>
            <th>Delete</th>
        </thead>
        <tbody>
            <?php
            while ($row = mysql_fetch_array($rs)) {

                $imagenx = $row['imagen'];
                $descripcionx = $row['descripcion'];
                $fechax = $row['fecha'];
                ?>
                <tr align="center">
                    <td>  <img src="Vista/images/portada/<?php echo $imagenx; ?>" width="22" height="22" border="1"></td>
                    <td><? echo $descripcionx; ?></td>
                    <td><? echo $fechax; ?></td>
                    <td><a href="#">editar</a></td>
                    <td><a href="#">eliminar</a></td>


                </tr> 
                <?php
            }
            ?>
        </tbody>
    </table>
</body>
</html>